package com.hanhan.chargingpile.equipment.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 充电枪
 * </p>
 *
 * @author HanHan
 * @since 2023-03-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ChargingPileGun对象", description="充电枪")
public class ChargingPileGun implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "充电桩id")
    private Long chargingPileId;

    @ApiModelProperty(value = "编号")
    private String gunNo;

    @ApiModelProperty(value = "充电枪名称")
    private String gunName;

    @ApiModelProperty(value = "充电枪型号")
    private String gunSpec;

    @ApiModelProperty(value = "功率 单位 KW")
    private BigDecimal rateOfWork;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "-1：禁用 0：未使用 1：正在使用")
    private Boolean useStatus;

    @ApiModelProperty(value = "0:未删除 1:删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
